package com.example.orderserver.enums;

public enum OrderStatusEnum {

    NOT_PAY(1, "未支付"),
    PAYED(2, "已支付"),
    CANCEL(3, "已取消");

    private Integer code;

    private String desc;

    OrderStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}